package org.subject.dto;

import java.util.Arrays;

/**
 * 发布竞赛信息
 * Created by kai on 2017/5/5.
 */
public class PublishMessage {
    private String title;
    private String content;
    private String registerStart;
    private String registerEnd;
    private String testStart;
    private String testEnd;
    private String[] request;
    private String desc;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRegisterStart() {
        return registerStart;
    }

    public void setRegisterStart(String registerStart) {
        this.registerStart = registerStart;
    }

    public String getRegisterEnd() {
        return registerEnd;
    }

    public void setRegisterEnd(String registerEnd) {
        this.registerEnd = registerEnd;
    }

    public String getTestStart() {
        return testStart;
    }

    public void setTestStart(String testStart) {
        this.testStart = testStart;
    }

    public String getTestEnd() {
        return testEnd;
    }

    public void setTestEnd(String testEnd) {
        this.testEnd = testEnd;
    }

    public String[] getRequest() {
        return request;
    }

    public void setRequest(String[] request) {
        this.request = request;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "PublishMessage{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", registerStart='" + registerStart + '\'' +
                ", registerEnd='" + registerEnd + '\'' +
                ", testStart='" + testStart + '\'' +
                ", testEnd='" + testEnd + '\'' +
                ", request=" + Arrays.toString(request) +
                ", desc='" + desc + '\'' +
                '}';
    }
}
